home *** CD-ROM | disk | FTP | other *** search
/ Over 1,000 Windows 95 Programs / Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso / 0626 / shell2.txt < prev    next >
Encoding:
Text File  |  1997-04-07  |  9.1 KB  |  220 lines

  1. Documentation for SHELL2.EXE (Base64 Windows shell)
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4. CONTENTS:
  5. ~~~~~~~~~
  6. 1. Requirements, Installation Help
  7. 2. About SHELL2
  8. 3. About Encoding
  9. 4. About Decoding (IMPORTANT!)
  10. 5. Distribution, disclaimer, about the author, registration, etc.
  11. 6. Revision notes
  12.  
  13. For more information, view BASE64.TXT.
  14. Please register!
  15.  
  16. IMPORTANT: Shell2 will only use all the features of version #5 of
  17. the DOS Base64 programs. Any later version's features are not supported,
  18. but will likely be backward-compatible. (In other words, you can still
  19. use Shell2 with versions #5 and above.)
  20.  
  21. Visit my home page:  http://www.geocities.com/SiliconValley/Park/3056/
  22. Lots of great programs & Internet help!
  23.  
  24.  
  25. 1. Requirements, Installation Help
  26. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  27. Unlike ENCODE64.EXE and DECODE64.EXE, this program does require Windows.
  28.  
  29. When you first run it, it may tell you that it needs a file called
  30. VBRUN100.DLL. This is an annoying file needed to run many Visual Basic
  31. programs. It can be downloaded off my homepage (URL is listed above),
  32. and it needs to be placed either in a directory in your PATH, or in
  33. your main Windows directory.
  34.  
  35. IMPORTANT: This program requires that all the executable files and
  36. all PIFs are extracted into the same directory that Shell2.EXE is
  37. run from. In other words, the following files need to be in the same
  38. directory for Shell2 to work: 
  39.  
  40. ENCODE64.EXE -- DECODE64.EXE -- SHELL2.EXE   > Executables
  41. ENCODE64.PIF -- DECODE64.PIF                 > Windows PIF files
  42.  
  43. Shell2 was written for Windows 3.1 using Visual Basic 1.00, but it 
  44. works perfectly well under Windows '95.
  45.  
  46.  
  47. 2. About Shell2
  48. ~~~~~~~~~~~~~~~
  49. It has almost no more features than the DOS programs, but it does add 
  50. ease of use to encoding and decoding Base64 files. (For information on 
  51. Base64, look at BASE64.TXT.) This is especially handy if you are using
  52. a Windows-based Internet e-mail program.
  53.  
  54. An item that it does have that the DOS program doesn't is that it allows
  55. input for multiple-part files in Lines, Kilobytes (kb), or Bytes. It
  56. converts these values to Kilobytes (the only type that the DOS program 
  57. uses).
  58.  
  59. This program is called a Shell because it doesn't actually do any 
  60. processing itself, but is only there for running the DOS programs. The
  61. good thing about that is that Windows is sometimes terribly slow, while
  62. the DOS programs are extremely fast.
  63.  
  64. About running File Manager and Viewing a text file: These two buttons
  65. (on the main menu) attempt to run WINFILE.EXE in the default Windows
  66. directory, and NOTEPAD.EXE (also in the default Windows directory).
  67. If it doesn't find them or has an error running them, it will display
  68. an error message. When Viewing a text file is clicked on, it will not 
  69. only run NOTEPAD.EXE, but it will also attempt to pop up its Open 
  70. window, so a text file can be loaded immediately.
  71.  
  72. Another good thing about Shell2 -- even if it does slow down processing,
  73. files CAN be encoded and decoded in the background while you are doing
  74. other things.
  75.  
  76. One final thing: Shell2 converts lines and bytes to kilobytes before
  77. running ENCODE64. There may appear to be some mistakes in its math,
  78. so for best results, use kilobytes instead of lines or bytes.
  79.  
  80.  
  81. 3. About Encoding
  82. ~~~~~~~~~~~~~~~~~
  83. There isn't much to remember about encoding, except that you always
  84. have to remember to specify at least the output drive and directory (where
  85. the files go after they are processed). If you don't, you may have a 
  86. little trouble tracking down those files.
  87.  
  88.  
  89. 4. About Decoding
  90. ~~~~~~~~~~~~~~~~~
  91. If you seem to be getting some strange errors trying to decode files,
  92. then realize that you have a UNIX e-mail system, then you need to
  93. run them through the utility I included with these programs called
  94. (guess?) "UNIX2DOS.EXE". It will convert standard UNIX text files to
  95. the DOS CR/LF standard. Now for the important stuff:
  96.  
  97. Single file decoding: Just select the file to decode in the list box
  98. on the left, the output drive/directory in the boxes on the right, change
  99. the default output file name if you want, and then start decoding.
  100.  
  101. Multipart decoding:     (IMPORTANT!!!)
  102.  
  103. On the decoding screen, you may notice that you can't select any files
  104. in the file list box on the left side of the screen when Multipart
  105. is selected. This is because the list box, when Multipart is selected,
  106. is only there for one thing; to make sure the files to decode are:
  107.  
  108. 1) On the disk
  109. 2) In the correct order
  110.  
  111. When you select Multipart, the program will pop the cursor into the
  112. little text box that previously had the greyed out word "Mask" in it.
  113. This is where you need to type in a generic filename mask to make 
  114. sure the DOS program reads the files in the correct order. This
  115. is a little tricky! Whenever you type in any letters into the Mask
  116. box, the file list on the left will automatically update itself. It
  117. is likely that when you type in the first letter, the list will
  118. be completely blank until you finish writing out the complete Mask.
  119. The trick is to get the right mask so that:
  120.  
  121. 1) The files are in the correct order. 
  122.    (There should be numbers on the end of the filename to help.)
  123.  
  124. 2) There are NO other files in the file list box besides the files that
  125.    need to be decoded.
  126.  
  127. Here's an example to help: Say you just received 5 files over the Internet
  128. which are obviously Base64 encoded. You copy them into a directory called
  129. "C:\STUFF" and name them "PROG01.64", "PROG02.64", "PROG03.64", "PROG04.64"
  130. and "PROG05.64". A sample mask for this would be "PROG*.*". But say
  131. you already have another file in the same directory called "PROGRAM.EXE",
  132. and you definitely do NOT want that to show up on the file list. Then you'd
  133. have to narrow down the mask to something like "PROG*.64". The file
  134. list would update showing the five files in the correct order, there
  135. will be NO other files in the list besides those files, and it is okay
  136. to start decoding once you select a few more options on that screen.
  137. (Such as where to stick the output file when it is being decoded.)
  138.  
  139.  
  140. 5. Distribution, disclaimer, about the author, registration, etc.
  141. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  142. If you enjoy using this program or use it a lot, please write me
  143. for registration information. See the help screen on Shell2 or BASE64.TXT
  144. for more information.
  145.  
  146. I'm not responsible if this program does any harm, but if you use it
  147. properly, it shouldn't.
  148.  
  149. These programs can be distributed freely on CD-ROMs, FTP sites, HTTP
  150. sites, BBSs, etc. ONLY if all the files are sent along in the same
  151. archive, intact, un-editted, and not split up to make their ways through 
  152. the world alone. (See VENDOR.TXT)
  153.  
  154. This program was written by Sean O'Malley.
  155.  
  156. I enjoy being e-mailed by people who have any suggestions for updates,
  157. bug reports, want to thank me for these wonderful programs, or are having
  158. pangs of guilt from using it for so long without writing (or sending
  159. money :).
  160.  
  161. Some have already written me about my DOS programs, and because of that,
  162. they are the sleek, fast, well-programmed things they are today.
  163.  
  164. My Internet e-mail address: frog@star2.opsys.com
  165. My homepage (please visit!):
  166.           http://www.geocities.com/SiliconValley/Park/3056/
  167.  
  168. I can be contacted on this BBS based in the Miami, Florida area:
  169. (My e-mail address on here is "Fire Frog".)
  170.  
  171. MANx CAT BBS
  172. (305) 245-0113
  173. Sysop: Major Airwaves
  174.  
  175. World Wide Web address:
  176.  
  177. http://www.shadow.net/~manxcat
  178.  
  179.  
  180. 6. Revision Notes
  181. ~~~~~~~~~~~~~~~~~
  182.   Below is inscribed the notes for any revisions that may have been 
  183. added to Shell2. To see all the neat things I've added to the DOS
  184. programs, look in this section in BASE64.TXT.
  185.  
  186.   Note that version #1 was distributed along with version #4 of my
  187. DOS programs, and that the archive these programs come in is named 
  188. after the current version of the DOS programs, NOT the Windows shell 
  189. program (which came later).
  190.  
  191. --\
  192. #1|--> Basic version. Probably crawling with bugs.
  193. --/     (Sent around in archive of version #4 of the DOS programs.)
  194.  
  195. --\
  196. #2|--> 1. When multi-part encoding with Lines or Bytes (as the basis 
  197. --/        for the outputted files' size), Shell64 will hit nearer to 
  198.            the size mark in the files that are outputted. (Everything 
  199.            needs to be computed to the nearest kilobyte, but it wasn't 
  200.            very accurate before the change.)
  201.  
  202.        2. Shell64 won't allow two instances of itself to be run, to
  203.            avoid possible errors. If you try and have two instances
  204.            running at the same time, it will give an error message.
  205.  
  206.        3. Support for DECODE64's new "/K" command-line option.
  207.  
  208.        4. This version put out in #5 and #6 of the Base64 programs.
  209.  
  210. --\
  211. #3|--> 1. Shell64 re-written as Shell2, which has all bugs removed and
  212. --/        only small parts of the code of the original Shell64. May
  213.            look nearly the same, but it is better!
  214.  
  215.        2. This rewrite distributed in version #7 of the Base64 programs.
  216.  
  217.        3. Bug fixes . . .
  218. __________________________________________________________________________
  219. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  220.